package com.itheima.dao.impl;

import com.itheima.dao.UserDao;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public void add() {
        System.out.println("dao add run...");
    }

    @Override
    public String getName(String data) {
        System.out.println("dao  getName run ... ");
        return data;
    }
}
